package com.yunhai.support.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.support.entity.PhoneTextMessage;
import com.yunhai.support.entity.vo.TextMessageVo;

import java.util.List;

public interface AliMessageService {
    public void sendAlarmInfo( String phone,
                               String serialNumber,
                               String nickName,
                               String strength,
                               String energy,
                               Integer bal) throws Exception;

    public void sendElectricAlarmInfo(String phone,
                                      String serialNumber,
                                      String nickName,
                                      Integer type,
                                      Integer bal) throws Exception;

    IPage getTextMessagePagination(PaginationVo paginationVo, TextMessageVo textMessageVo) throws Exception;

    List<PhoneTextMessage> getTextMessageList() throws Exception;
}
